package com.aioz.security.service;

import com.aioz.security.common.ResponseResult;
import com.aioz.security.entity.Log;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Aioz
 * @since 2022-11-18
 */
public interface LogService extends IService<Log> {

    ResponseResult getLogsPage(Integer currentPage, Integer size);

    ResponseResult getLogsByUserId(Integer userId);

    ResponseResult getLogsByStatusCode(Integer statusCode);

    ResponseResult deleteLog(Integer id);
}
